<?php ob_start(); ?>
<?php 
    include_once("controller/controller.php");  
    $controller = new Controller();  

?>
    <div class="maincontent">
        <div id="header">
            <?php
                    $controller->login();  
            ?>
        </div>
        <div id="jquery">
            <div id="">
                <?php 
                    include_once 'view/featured-content-slider/index.html';
                ?>   		
            </div>
        </div>
        
        <div id ="content">
            <div id="menuLeft">
                    <?php
                        $controller->menuLeft();  
                    ?>
            </div>
            <div class ="showContent">
                <?php
                    if(isset($_GET['page']) && $_GET['page']=='bidhistory')
                    {
                            $controller->bidhistory();  
                    }
                    if(isset($_GET['page']) && $_GET['page']=='wonauction')
                    {
                            $controller->wonAuction();  
                    }
                 	if(isset($_GET['page']) && $_GET['page']=='changepass')
                    {
                            $controller->changePass();  
                    }
                ?>
            </div>
         </div>
        <div id="footer">
            <?php
                $controller->footer();  
            ?>
        </div>
    </div>
